package com.lei.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author Lei Chu
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PageBean<T> implements Serializable {
    private Integer code = 0;
    private String msg = "";
    private Long count;
    private List<T> data;
    private String params;
    private Integer page;
    private Integer limit;

}